package com.easyedu.dean.entity.dto.request;

import java.io.Serializable;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author mengranliu
 * @date 2022/2/25
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ReqQueryVersionHasArrangeCourse implements Serializable {

     @Min(value = 0, message = "开课年份不能为空")
     private int    openYear;
     @NotNull(message = "开课学期不能为空")
     private String semester;
     @NotNull(message = "开课版本不能为空")
     private String versionId;
     @NotNull(message = "教学楼不能为空")
     private String building;
     @Min(value = 0, message = "开课楼层不能为空")
     private int    floor;
     @Min(value = 0, message = "开课周不能为空")
     private int    week;
     @NotNull(message = "教室不能为空")
     private String classroom;
}
